package com.onlinesys.service;

import java.sql.SQLException;
import java.util.List;

import com.onlinesys.beans.ProductProcess;

public interface ProductProcessService {
    public int getProductProcessTotalCount() throws SQLException;

    public List<ProductProcess> getProductProcesses(int startRow, int pageSize) throws SQLException;

    public List<ProductProcess> searchProductProcesses(int startRow, int pageSize, ProductProcess pd) throws SQLException;

    public int searchProductProcessTotalCount(ProductProcess pd) throws SQLException;

	public ProductProcess getProductProcessById(String id)  throws SQLException;

	public void updateProductProcess(ProductProcess pp, String type, String newDrawingNum,
			Integer newQuantity, Integer newProductCount, Integer newReprocessCount, Integer newMissedCount) throws SQLException;
}
